.class Lcom/estrongs/android/view/y$d;
.super Ljava/lang/Thread;
.source "FileTransferGridViewWrapper.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/view/y;->l(I)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:I

.field final synthetic b:Lcom/estrongs/android/view/y;


# direct methods
.method constructor <init>(Lcom/estrongs/android/view/y;I)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/view/y$d;->b:Lcom/estrongs/android/view/y;

    iput p2, p0, Lcom/estrongs/android/view/y$d;->a:I

    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 7

    .line 1
    invoke-static {}, Les/ul;->e()Les/ul;

    move-result-object v0

    iget v1, p0, Lcom/estrongs/android/view/y$d;->a:I

    invoke-virtual {v0, v1}, Les/ul;->a(I)Ljava/util/List;

    move-result-object v0

    .line 2
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    .line 3
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_2

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Les/rl;

    .line 4
    new-instance v3, Ljava/io/File;

    iget-object v4, v2, Les/rl;->b:Ljava/lang/String;

    invoke-direct {v3, v4}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 5
    invoke-virtual {v3}, Ljava/io/File;->exists()Z

    move-result v4

    if-nez v4, :cond_0

    goto :goto_0

    .line 6
    :cond_0
    new-instance v4, Les/pl;

    invoke-direct {v4, v3}, Les/pl;-><init>(Ljava/io/File;)V

    .line 7
    invoke-virtual {v3}, Ljava/io/File;->isDirectory()Z

    move-result v5

    if-eqz v5, :cond_1

    const/4 v5, 0x1

    .line 8
    iput-boolean v5, v4, Les/pl;->u:Z

    .line 9
    invoke-virtual {v3}, Ljava/io/File;->listFiles()[Ljava/io/File;

    move-result-object v5

    if-eqz v5, :cond_1

    .line 10
    invoke-virtual {v3}, Ljava/io/File;->listFiles()[Ljava/io/File;

    move-result-object v3

    array-length v3, v3

    iput v3, v4, Les/pl;->t:I

    .line 11
    :cond_1
    iget-object v3, v2, Les/rl;->h:Ljava/lang/String;

    iput-object v3, v4, Les/pl;->v:Ljava/lang/String;

    .line 12
    iget-wide v5, v2, Les/rl;->d:J

    iput-wide v5, v4, Les/pl;->p:J

    .line 13
    iget v2, v2, Les/rl;->f:I

    iput v2, v4, Les/pl;->q:I

    .line 14
    iget-object v2, p0, Lcom/estrongs/android/view/y$d;->b:Lcom/estrongs/android/view/y;

    invoke-static {v2}, Lcom/estrongs/android/view/y;->f(Lcom/estrongs/android/view/y;)Lcom/estrongs/android/view/y$q;

    move-result-object v2

    iput-object v2, v4, Les/pl;->r:Lcom/estrongs/android/view/y$q;

    .line 15
    invoke-interface {v1, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 16
    :cond_2
    new-instance v0, Landroid/os/Message;

    invoke-direct {v0}, Landroid/os/Message;-><init>()V

    const/4 v2, 0x3

    .line 17
    iput v2, v0, Landroid/os/Message;->what:I

    .line 18
    iget-object v2, p0, Lcom/estrongs/android/view/y$d;->b:Lcom/estrongs/android/view/y;

    invoke-static {v2, v1}, Lcom/estrongs/android/view/y;->a(Lcom/estrongs/android/view/y;Ljava/util/List;)Ljava/util/List;

    .line 19
    iget-object v1, p0, Lcom/estrongs/android/view/y$d;->b:Lcom/estrongs/android/view/y;

    invoke-static {v1}, Lcom/estrongs/android/view/y;->h(Lcom/estrongs/android/view/y;)Landroid/os/Handler;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    return-void
.end method
